<template>
  <div class="detail-title">
    <div class="detail-main">
      <span class="line"></span>
      <div class="text">
        <slot name="text"></slot>
      </div>
      <span class="line"></span>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.detail-title {
  display: flex;

  justify-content: center;
  .detail-main {
    display: flex;
      width: 60%;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    .line {
      width: 70px;
      height: 2px;
      background-color: #CCCCCC;
    }
  }
}
</style>